package com.yummy.service.impl;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.yummy.dto.QueryEmployeeVo;
import com.yummy.entity.Category;
import com.yummy.entity.DishFlavor;
import com.yummy.entity.Employee;
import com.yummy.mapper.CategoryMapper;
import com.yummy.mapper.DishFlavorMapper;
import com.yummy.service.DishFlavorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DishFlavorServiceImpl implements DishFlavorService {
    @Autowired
    DishFlavorMapper dishFlavorMapper;


    @Override
    public List<DishFlavor> findDishFlavorByDishId(String dishId) {
        List<DishFlavor> dishFlavors = dishFlavorMapper.selectDishFlavorByDishId(dishId);
        return dishFlavors;
    }

}
